<!DOCTYPE html>
<html lang="en">
<head>
    <meta charset="UTF-8">
    <title>Title</title>
    <style>
        .father{
            width: 100px;
            height: 100px;
            background-color: pink;
        }
        .father::after{
            color: #cd65e4;
            content: '老鼠';
            width: 100px;
            height: 100px;
            background-color: lawngreen;
        }
        .father::before{
            content: '大米';
        }
    </style>
</head>
<body>
<div class="father">爱</div>
</body>
</html>